package com.shop.service;

import com.github.pagehelper.PageInfo;
import com.shop.vo.ProductAggregationVO;
import com.shop.entity.ProductSku;

public interface ProductSkuService {
    PageInfo<ProductSku> listProductSku(int pageNum, int pageSize);
    PageInfo<ProductSku> listWithProductSku(int pageNum, int pageSize);
    ProductSku listProductSkuByProductId(Integer productId);
    void addProductSku(ProductSku productSku);
    void deleteProductSku(Integer id);
    void updateProductSku(Integer id, String skuCode, double price, int stock);
    int getTotal();
}
